Skip to contentSkip to conversation

System lock up after monitors wake from DPMS on Ryzen 3 2200g

Bug 106317 [email protected] 1 participant 9 messages Apr 30, 2018 – Nov 19, 2019

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=106317

Bug ID: 106317
Summary: System lock up after monitors wake from DPMS on Ryzen
3 2200g
Product: DRI
Version: DRI git
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: major
Priority: medium
Component: DRM/AMDgpu
Assignee: [email protected]
Reporter: [email protected]

I have a Ryzen 3 2200g CPU on a Gigabyte AB350M-HD3 mobo. I have 2 monitors connected (same model), one via HDMI, the other via DVI.

OS: Debian Testing, kernel compiled from mainline git (rc2+ now, after the rc3 DRM fixes patches merge). But this issue is present even with the kernel from
https://cgit.freedesktop.org/~agd5f/linux/log/?h=drm-next-4.18-wip

The issue i encounter is the when the monitors enter dpms and tries to wake, the system freezes.

This is not happening always, but it can be reproduced reliably with running "DISPLAY=:0 xset dpms force off"
Repeatedly. It will eventually lock up (minimum tries was 1, max 9). One of the monitors (HDMI) will have the signal still cut, the other (DVI) will have a blank signal (this behavior seems consistent).

The system freezes totally (no ssh access, ping, magic keys etc). Also no usable logs. This is compounded by the issue of having to reboot repeatedly after this issue since the system will freeze at reboot when the KMS mode is enabled.

Maybe unrelated but i have this line in dmesg after each boot:

[    5.312547] [drm:construct [amdgpu]] *ERROR* construct: Invalid Connector

ObjectID from Adapter Service for connector index:2! type 0 expected 3

xrandr output:

HDMI-A-0 connected primary 1440x900+1440+0 (normal left inverted right x axis y axis) 408mm x 255mm

   1440x900      59.89*+  74.98  
   1280x1024     75.02    60.02  
   1280x800      59.89  
   1152x864      75.00  
   1280x720      59.89  
   1024x768      75.03    70.07    60.00  
   832x624       74.55  
   800x600       72.19    75.00    60.32    56.25  
   640x480       75.00    72.81    66.67    59.94  
   720x400       70.08  
DVI-D-0 connected 1440x900+0+0 (normal left inverted right x axis y axis) 408mm
x 255mm
   1440x900      59.89*+  74.98  
   1280x1024     75.02    60.02  
   1280x800      59.89  
   1152x864      75.00  
   1280x720      59.89  
   1024x768      75.03    70.07    60.00  
   832x624       74.55  
   800x600       72.19    75.00    60.32    56.25  
   640x480       75.00    72.81    66.67    59.94  
   720x400       70.08  

DisplayPort-0 disconnected (normal left inverted right x axis y axis)

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=106317

Michel Dänzer <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #1 from Michel Dänzer <[email protected]> --- Please attach the dmesg output, captured as late as possible.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=106317

--- Comment #2 from Öyvind Saether <[email protected]> --- This could be duplicate of
https://bugs.freedesktop.org/show_bug.cgi?id=105018#c31

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=106317

--- Comment #3 from Kertesz Laszlo <[email protected]> --- (In reply to Öyvind Saether from comment #2)

Quoted 2 lines

This could be duplicate of
https://bugs.freedesktop.org/show_bug.cgi?id=105018#c31

Not sure, when this happens to me the box is dead (no ssh etc). Later i will try to dump "dmesg -wH" from a ssh session. I installed the dbg package and enabled the dc verbose logging option.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#4 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=106317

--- Comment #4 from Kertesz Laszlo <[email protected]> --- Created attachment 139234
--> https://bugs.freedesktop.org/attachment.cgi?id=139234&action=edit
dmesg

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#5 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=106317

--- Comment #5 from Kertesz Laszlo <[email protected]> --- Tried it and there is absolutely no relevant output in dmesg. After freeze i had to force-restart the computer 5 times to pass the amdgpu loading point.
Attached dmesg above.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#6 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=106317

--- Comment #6 from Kertesz Laszlo <[email protected]> --- I did some additional testing and it seems that if i disable the monitor connected through DVI (xrandr --output DVI-D-0 --off), the HDMI monitor has no issues with dpms.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#7 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=106317

--- Comment #7 from Kertesz Laszlo <[email protected]> --- Tested with the DVI monitor only (disabled the HDMI) too and seems to work fine aswell.

I also tested with both and even now with kernel 4.17.0-rc7+ it locks up.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#8 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=106317

Martin Peres <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

         Resolution|---                         |MOVED
             Status|NEW                         |RESOLVED

--- Comment #8 from Martin Peres <[email protected]> --- -- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/drm/amd/issues/370.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel